import request from "@/utils/request";
// 更新信息
export function getList(data) {
    return request({
      url: "/price/list",
      method: "get",
      data: data
    });
  }
  // 创建信息
export function addSure(data) {
    return request({
      url: "/price",
      method: "post",
      data: data
    });
  }
    // 创建信息
export function edSure(data) {
    return request({
      url: "/price",
      method: "put",
      data: data
    });
  }
export function edList(id) {
  return request({
    url:`/price/record/list/${id}`,
    method:'get',
  })
}